package com.cuijq.virwallet.repository.entity;

import com.cuijq.virwallet.walletenum.Status;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
@Data
@Entity
@Table(name="t_vwtt")
//转帐表
public class VirtualWalletTransactionEntity {
    @Id
    Long id;
    //转多少钱
    BigDecimal amount;
    long createTime;
    //从哪个钱包
    Long fromWalletId;
    //转到哪个钱包
    Long toWalletId;
    Status status;

}
